[#import "/framework/JGP.htm"  as JGP]
<!--
项目   parent
作者   LOUFEI [Gavin]
时间   2018/4/5
-->
[@JGP.head "Title"/]
[@JGP.body]
    <jgp-div _col="['*','350','*']" _cunit="px" _row="['*','300','*']" _runit="px">
        <jgp-div slot="2-2" _row="['120','*']" _runit="px">
            <jgp-form slot="1-1" _id="loginForm" _action="/security/entry-ctl/login"
                      _method="post" _cols="12">
                <jgp-text _label="用户名" _col="12" _name="admin_name"></jgp-text>
                <jgp-text _label="密码" _col="12" _name="admin_pwd"></jgp-text>
                <jgp-radio _label="记住我" _col="12" _name="admin_remember_me" _value='true'
                           _list="[{'value':'true','label':'是'},{'value':'false','label':'否'}]"></jgp-radio>
            </jgp-form>
            <div slot="2-1">
                <jgp-btn _fn="login">登录</jgp-btn>
            </div>
        </jgp-div>
    </jgp-div>

[/@JGP.body]

[@JGP.foot]
<script>

    if(window.self != window.top){
        window.top.location = window.self.location;
    }

    function login() {
        JGP.form('loginForm').submit();
    }
</script>
[/@JGP.foot]